import React, { Component, useEffect } from "react";
import { View, Button, Text } from "@tarojs/components";
import { observer, inject } from "mobx-react";
import { ShareCard } from "../../../src/components/share-card";
import { RootStore } from "../../../src/store/root-store";
import "./index.scss";

interface Index {
  props: {
    rootStore: RootStore;
  };
}
@inject("rootStore")
@observer
class Index extends Component {
  componentWillMount() {}

  componentDidMount() {}

  componentWillUnmount() {}

  componentDidShow() {}

  componentDidHide() {}

  render() {
    return (
      <View className="project-share clearfix">
        <ShareCard type="project" onWatch={console.log} />
      </View>
    );
  }
}

export default Index;
